using Newtonsoft.Json;
/*
 *代码由框架生成,任何更改都可能导致被代码生成器覆盖
 *如果数据库字段发生变化，请在代码生器重新生成此Model
 */
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VOL.Entity.SystemModels;

namespace VOL.Entity.DomainModels
{
    [Entity(TableCnName = "产品定价差异分析",TableName = "cw_djlc_analyze")]
    public partial class cw_djlc_analyze:BaseEntity
    {
        /// <summary>
       ///定价流程主表id
       /// </summary>
       [Key]
       [Display(Name ="定价流程主表id")]
       [JsonIgnore]
       [Column(TypeName="uniqueidentifier")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public Guid cw_djlc_djzb_id { get; set; }

       /// <summary>
       ///对标物料子件编号
       /// </summary>
       [Display(Name ="对标物料子件编号")]
       [MaxLength(36)]
       [Column(TypeName="varchar(36)")]
       [Editable(true)]
       public string oldcomponentnum { get; set; }

       /// <summary>
       ///对标子件物料描述
       /// </summary>
       [Display(Name ="对标子件物料描述")]
       [MaxLength(500)]
       [Column(TypeName="varchar(500)")]
       [Editable(true)]
       public string olddescription { get; set; }

       /// <summary>
       ///价格
       /// </summary>
       [Display(Name ="价格")]
       [DisplayFormat(DataFormatString="38,6")]
       [Column(TypeName="decimal")]
       [Editable(true)]
       public decimal? oldprice { get; set; }

       /// <summary>
       ///需求物料子件编号
       /// </summary>
       [Display(Name ="需求物料子件编号")]
       [MaxLength(36)]
       [Column(TypeName="varchar(36)")]
       [Editable(true)]
       public string newcomponentnum { get; set; }

       /// <summary>
       ///需求物料子件描述
       /// </summary>
       [Display(Name ="需求物料子件描述")]
       [MaxLength(500)]
       [Column(TypeName="varchar(500)")]
       [Editable(true)]
       public string newdescription { get; set; }

       /// <summary>
       ///价格
       /// </summary>
       [Display(Name ="价格")]
       [DisplayFormat(DataFormatString="38,6")]
       [Column(TypeName="decimal")]
       [Editable(true)]
       public decimal? newprice { get; set; }

       /// <summary>
       ///差异价格
       /// </summary>
       [Display(Name ="差异价格")]
       [DisplayFormat(DataFormatString="38,6")]
       [Column(TypeName="decimal")]
       public decimal? analyzeprice { get; set; }

       /// <summary>
       ///组号名称
       /// </summary>
       [Display(Name ="组号名称")]
       [MaxLength(100)]
       [Column(TypeName="varchar(100)")]
       public string groupnumname { get; set; }

       /// <summary>
       ///组号
       /// </summary>
       [Display(Name ="组号")]
       [MaxLength(100)]
       [Column(TypeName="varchar(100)")]
       public string groupnum { get; set; }

       /// <summary>
       ///定价流程编号
       /// </summary>
       [Display(Name ="定价流程编号")]
       [MaxLength(255)]
       [Column(TypeName="varchar(255)")]
       public string cw_djlc_code { get; set; }

       /// <summary>
       ///对标物料子件父类
       /// </summary>
       [Display(Name ="对标物料子件父类")]
       [MaxLength(255)]
       [Column(TypeName="varchar(255)")]
       public string oldparent_componentnum { get; set; }

       /// <summary>
       ///需求物料子件父类
       /// </summary>
       [Display(Name ="需求物料子件父类")]
       [MaxLength(255)]
       [Column(TypeName="varchar(255)")]
       public string newparent_componentnum { get; set; }

       
    }
}
